<?php

$proId=$_REQUEST['wwishproduct'];


$sqlSelProd="SELECT * FROM tbl_whole_wishlist WHERE wishlist_id='$proId'";
$rstSelProd=mysql_query($sqlSelProd);
$rowSelProd=mysql_fetch_array($rstSelProd);

$productName=$rowSelProd['product_name'];	
$productDesc=$rowSelProd['description'];

$productThumb=$rowSelProd['product_thumb'];	
$productImage=$rowSelProd['product_image'];

$productPrice=$rowSelProd['price'];

$postedDate=$rowSelProd['created_date'];

if($productThumb!="") {
	$productThumb = $productThumb;
 }  else {
	$productThumb="images/no_image.gif";	
 } 

?>


<style type="text/css">
	span#add-wishlist { color:#0000CC; padding:5px; font-size:12px; }	
</style>



<table width="100%" border="0">
  <tr>
    <td class="contentHeader"><h2>Wishlist Products</h2></td>
  </tr>
  <tr>
    <td><br>  
	   <form name="frmProductInfo" id="frmProductInfo" method="post">
	   <input type="hidden" name="hidBargain" id="hidBargain">
	   <div style="border:1px solid #CCC;">
         <table width='100%' border='0' align='center' cellspacing='0'>
           <tr>
             <td width="16%" rowspan="2" style='vertical-align:middle; padding:5px;background-color:#F5F5F5; text-align:center'><img src="<?php echo $productThumb; ?>" /> <div>
             </div></td>
             <td style='vertical-align:top; padding:5px;'><?php echo "$productName";?> </td>
             <td width="13%" style='vertical-align:top; padding:5px;'><strong>Wish Price </strong> <br />
                 <br />
               $<?php echo number_format($productPrice,2); ?> </td>
             <td width="19%" style='vertical-align:top; padding:5px;'></td>
           </tr>
           <tr>
             <td height="25"  style='padding:5px;'></td>
             <td colspan="2" align="center" style='vertical-align:top; padding:5px;'></td>
           </tr>
           <tr>
             <td height="25" colspan="2" >&nbsp;</td>
             <td colspan="2" align="center" style='vertical-align:top; padding:5px;'>&nbsp;</td>
           </tr>
         </table>
	     </div>
	   <br>
	   <div style="border:1px solid #CCC;"> 			
	   <table width="100%" border="0" align="center">
          
		   <tr>
             <td width="47%" valign="top">              
             	<div style="padding:15px;" align="justify"> 
					<strong>Description </strong>
					<p style="text-indent:20px; line-height:22px;">
						<?php echo nl2br($productDesc); ?>
					</p>
				</div>
			 </td>
             <td width="53%" valign="top">
			 <table  border="0" align="center" width="100%">              
               <tr>
                 <td width="93%" height="28" colspan="2" class="uline">&nbsp;</td>
               </tr>
             </table></td>
           </tr>          
         </table>
		 </div>
	  </form>
	  <br>	  
    </td>
  </tr>
</table>		 